package com.ido.babyshow.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ido.babyshow.dao.ICatalogDao;
import com.ido.babyshow.model.Catalog;
import com.ido.babyshow.service.ICatalogService;

@Service
public class CatalogService implements ICatalogService
{
   @Resource
   private ICatalogDao catalogDao;

    public void setCatalogDao(ICatalogDao catalogDao)
    {
        this.catalogDao = catalogDao;
    }
    
    
    public List<Catalog> selectAllCatalog(){
        return catalogDao.<Catalog>selectList(null);      
    }
   
}
